package top.majuan.springboot3.service;

import top.majuan.springboot3.base.PageBean;
import top.majuan.springboot3.base.R;
import top.majuan.springboot3.entity.TbSoftwaretype;
import top.majuan.springboot3.vo.PageVo;

import java.util.List;

public interface TbSoftwaretypeService {
    R<String> insert(TbSoftwaretype tbSoftwaretype);

    R<List<TbSoftwaretype>> query(TbSoftwaretype tbSoftwaretype);

    R<PageVo<TbSoftwaretype>> queryPage(PageBean pageBean, TbSoftwaretype tbSoftwaretype);

    R<TbSoftwaretype> queryByid(Integer id);

    R<String> update(TbSoftwaretype tbSoftwaretype);

    R<String> delete(Integer id);
}
